<div class="product-list">
    <div class="_container">
        <div class="product-grid">
            <div class="product-item">
                <div class="product-image">
                    <img src="https://picsum.photos/id/1/390/360" alt="智能手机" />
                    <div class="product-overlay">
                        <h3>智能手机</h3>
                        <p>高性能智能手机</p>
                    </div>
                </div>
                <div class="product-content">
                    <h3>智能手机</h3>
                    <p>最新款高性能智能手机，搭载先进处理器和高清摄像头。</p>
                    <a href="#" class="btn" style="float: right; margin-top: auto">查看详情</a>
                </div>
            </div>

            <div class="product-item">
                <div class="product-image">
                    <img src="https://picsum.photos/id/2/390/360" alt="笔记本电脑" />
                    <div class="product-overlay">
                        <h3>笔记本电脑</h3>
                        <p>轻薄便携笔记本</p>
                    </div>
                </div>
                <div class="product-content">
                    <h3>笔记本电脑</h3>
                    <p>轻薄便携的笔记本电脑，适合办公和娱乐使用。</p>
                    <a href="#" class="btn" style="float: right; margin-top: auto">查看详情</a>
                </div>
            </div>

            <div class="product-item">
                <div class="product-image">
                    <img src="https://picsum.photos/id/3/390/360" alt="智能手表" />
                    <div class="product-overlay">
                        <h3>智能手表</h3>
                        <p>多功能智能手表</p>
                    </div>
                </div>
                <div class="product-content">
                    <h3>智能手表</h3>
                    <p>多功能智能手表，支持健康监测和运动追踪。</p>
                    <a href="#" class="btn" style="float: right; margin-top: auto">查看详情</a>
                </div>
            </div>

            <div class="product-item">
                <div class="product-image">
                    <img src="https://picsum.photos/id/4/390/360" alt="无线耳机" />
                    <div class="product-overlay">
                        <h3>无线耳机</h3>
                        <p>高音质无线耳机</p>
                    </div>
                </div>
                <div class="product-content">
                    <h3>无线耳机</h3>
                    <p>高音质蓝牙无线耳机，带有主动降噪功能。</p>
                    <a href="#" class="btn" style="float: right; margin-top: auto">查看详情</a>
                </div>
            </div>
        </div>
    </div>
</div>

<style>
    .product-list {
        padding: 50px 0;
    }

    .product-list .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .product-list .product-item {
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        position: relative;
        padding-bottom: 30px;
    }

    .product-list .product-item:hover {
        cursor: pointer;
        transform: translateY(-5px);
    }

    .product-list .product-image {
        position: relative;
        overflow: hidden;
    }

    .product-list .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .product-list .product-item:hover .product-image img {
        transform: scale(1.1);
    }

    .product-list .product-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .product-list .product-item:hover .product-overlay {
        opacity: 1;
    }

    .product-list .product-overlay h3 {
        color: #fff;
        font-size: 1.2rem;
        margin-bottom: 10px;
        text-align: center;
    }

    .product-list .product-overlay p {
        color: #fff;
        font-size: 0.9rem;
        text-align: center;
        padding: 0 10px;
    }

    .product-list .product-content {
        padding: 15px 15px 0;
    }

    .product-list .product-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .product-list .product-content p {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 10px;
    }

    .product-list .btn {
        display: inline-block;
        background-color: #B7BA6B;
        color: #fff;
        padding: 4px 15px;
        text-decoration: none;
        transition: background-color 0.3s ease;
        position: absolute;
        bottom: 0;
        right: 0;
        border-radius: 20px 0 0 0;
        font-size: 14px;
    }

    .product-list .btn:hover {
        background-color: #2980b9;
    }

    @media (max-width: 768px) {
        .product-list .product-grid {
            grid-template-columns: 1fr;
        }
    }
</style>